﻿<Window x:Class="TicTacToe.UI.AboutWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Icon="..\3dtictactoe.png"
    Height="252" Width="374" ResizeMode="NoResize" WindowStartupLocation="CenterOwner"
    Title="About 3DTicTacToe" x:ClassModifier="internal" >
    <Grid>
        <Border Style="{StaticResource borderStyle}" Margin="6" Height="40" VerticalAlignment="Top">
            <ContentControl Name="headerControl" Content="3DTicTacToe" Foreground="White" Background="Black" FontSize="21" HorizontalAlignment="Center" VerticalAlignment="Center" />
        </Border>

        <Border Style="{StaticResource borderStyle}" Margin="6,48,6,0" Height="132" VerticalAlignment="Top">
            <TextBlock Name="textBlock" Margin="6" Foreground="White" TextWrapping="Wrap">
                    <Run>3DTicTacToe is a implementation of the ever-popular Tic Tac Toe-Game in three dimensions.</Run><LineBreak />
                    <LineBreak />
                    <Run>Copyright © 2009-2011 Raffael Thome</Run><LineBreak />
                    <Run>3D art by Emil Karlsson</Run><LineBreak />
                    <LineBreak /> 
                    <Hyperlink Click="Hyperlink_Click" NavigateUri="http://3dtictactoe.codeplex.com/">http://3dtictactoe.codeplex.com/</Hyperlink>
            </TextBlock>
        </Border>
        <Button HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,184,6,0" Content="Close" Width="75" Height="23" Style="{StaticResource buttonStyle}" Click="Button_Click_1" />
        <Button HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,184,87,0" Content="View License" Width="75" Height="23" Style="{StaticResource buttonStyle}" Click="Button_Click_2" />
        
        <Grid Margin="6,213,6,0" Name="expGrid">
            <ScrollViewer>
                <Border Style="{StaticResource borderStyle}">
                    <TextBlock Foreground="White" Margin="6" TextWrapping="Wrap"><Run Text="Copyright © 2009-2011 Raffael Thome" /><LineBreak /><LineBreak /><Run Text="Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:" /><LineBreak /><LineBreak /><Run Text="The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software." /><LineBreak /><LineBreak /><Run Text="THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." /></TextBlock>
                </Border>
            </ScrollViewer>
        </Grid>
    </Grid>
</Window>
